package com.example.ecommerce.common.exception;

public class LoginException extends RuntimeException{
    private Object data;

    public LoginException(String message) {
        super(message);
    }

    public LoginException(String message, Object data) {
        super(message);
        this.data = data;
    }

    public Object getData() {
        return this.data;
    }

    public void setData(final Object data) {
        this.data = data;
    }
}
